<?php

require_once 'Oos.php';

$oos = new Oos("http://localhost/api/v1");
$oos->setCredentials("luis@11870.com", "xx");

$sites = $oos->sites();

$e = $sites->newSiteEntry();

$e->setName("parolo");
$e->setUserAddress("ruiz jimenez 2");
$e->setLocality('Madrid', '/es/madrid');
$e->setCountry('España', '/es');

$e = $sites->insertSite($e);

$e->delete();
?>